package cn.com.dycc.infomation_center.service;


import java.io.IOException;

import javax.servlet.http.HttpServletRequest;

import cn.com.dycc.infomation_center.param.Pb_Party_InformationParam;
import cn.com.dycc.util.JsonObjectResult;


public interface Pb_Party_InformationService {
	
	/**
	 * 新增党建资讯信息
	 * @param param 党建资讯信息参数
	 * @param request 请求响应对象
	 * @return
	 * @throws Pb_Party_InformationNotFoundException
	 */
	public int addPb_Party_Information(Pb_Party_InformationParam param,HttpServletRequest request) throws Pb_Party_InformationNotFoundException;
	
	/**
	 * 删除党建资讯信息
	 * @param attrStrs 删除数据主键id数组
	 * @param request 请求响应对象
	 * @return
	 * @throws Pb_Party_InformationNotFoundException
	 */
	public int deletePb_Party_Information(String[]attrStrs,HttpServletRequest request) throws Pb_Party_InformationNotFoundException;
	
	/**
	 * 修改党建资讯信息
	 * @param param 党建资讯信息参数
	 * @param request 请求响应对象
	 * @return
	 * @throws Pb_Party_InformationNotFoundException
	 */
	public int updatePb_Party_Information(Pb_Party_InformationParam param,HttpServletRequest request)throws Pb_Party_InformationNotFoundException;
	
	/**
	 * 查询党建资讯信息
	 * @param param 党建资讯信息参数
	 * @param request 请求响应对象
	 * @return
	 * @throws Pb_Party_InformationNotFoundException
	 */
	public JsonObjectResult findPb_Party_InformationByParam(Pb_Party_InformationParam param,HttpServletRequest request) throws Pb_Party_InformationNotFoundException;
	
	/**
	 * 查询最新的党建资讯信息
	 * @param param 党建资讯信息参数
	 * @param request 请求响应对象
	 * @return
	 * @throws Pb_Party_InformationNotFoundException
	 */
	public JsonObjectResult findNewPb_Party_Information(HttpServletRequest request) throws Pb_Party_InformationNotFoundException, IOException;
}
